package com.rc.evcharger.service.market;

import com.rc.evcharger.common.base.BaseService;
import com.rc.evcharger.mapper.market.MarketActivityMemberMapper;
import com.rc.evcharger.model.market.MarketActivity;
import com.rc.evcharger.model.market.MarketActivityMember;
import com.rc.evcharger.model.market.MarketActivityMemberExample;
import com.rc.evcharger.model.market.MarketActivityRecord;
import com.rc.evcharger.model.order.OrderInfo;

import java.util.List;

/**
 * @Author: yang
 * @Date: 2022/7/28 0:48
 */
public interface MarketActivityMemberService extends BaseService<Long, MarketActivityMember, MarketActivityMemberExample, MarketActivityMemberMapper> {

    MarketActivityMember insertByOrderInfoAndMarketActivity(OrderInfo orderInfo, MarketActivityRecord marketActivityRecord);

    List<MarketActivityMember> selectByMemberId(Long memberId, String activityType);
}
